#ifndef __SERIAL_PORT_H__
#define __SERIAL_PORT_H__

#include <stdint.h>
#include "serial_port.h"

#ifdef __cplusplus
extern "C" {
#endif

#define UART_PORT    UART4
extern uint8_t wakeupKey;
extern uint8_t wakeupTime;

void UART4_Init(void);
void UART4_IRQHandler(void);
void UART4_Write(uint8_t pu8TxBuf[]);
void Timer_Init(void);
void Timer_Config(void);

#ifdef __cplusplus
}
#endif

#endif
